package com.yzt.zhuju.network.entity.mine.wallet;


import android.os.Parcel;
import android.os.Parcelable;

/**
 * author : bob
 * date   : 2022/11/30
 * desc   : 我的钱包
 */
public class WalletBean implements Parcelable {

    private String bankCardNo;
    private float candyNum;
    private float giftIncome;
    private float rate;

    private String amount;
    private String date;
    private String info;
    private String titleDate;
    private int type;
    private String transactionsId;
    private boolean showTitle;

    private String activityId;
    private String title;
    private String titleInfo;

    private String particularsDate;
    private String nickName;
    private String candyCoin;
    private String avatar;

    private int walletOpenStatus;
    private String candyParticularsTypeInfo;
    private int candyParticularsType;
    private String showIncome;

    public String getShowIncome() {
        return showIncome;
    }

    public void setShowIncome(String showIncome) {
        this.showIncome = showIncome;
    }

    public int getCandyParticularsType() {
        return candyParticularsType;
    }

    public void setCandyParticularsType(int candyParticularsType) {
        this.candyParticularsType = candyParticularsType;
    }

    public String getCandyParticularsTypeInfo() {
        return candyParticularsTypeInfo;
    }

    public void setCandyParticularsTypeInfo(String candyParticularsTypeInfo) {
        this.candyParticularsTypeInfo = candyParticularsTypeInfo;
    }

    public int getWalletOpenStatus() {
        return walletOpenStatus;
    }

    public void setWalletOpenStatus(int walletOpenStatus) {
        this.walletOpenStatus = walletOpenStatus;
    }

    protected WalletBean(Parcel in) {
        bankCardNo = in.readString();
        candyNum = in.readFloat();
        giftIncome = in.readFloat();
        rate = in.readFloat();
        amount = in.readString();
        date = in.readString();
        info = in.readString();
        titleDate = in.readString();
        type = in.readInt();
        transactionsId = in.readString();
        showTitle = in.readByte() != 0;
        activityId = in.readString();
        title = in.readString();
        titleInfo = in.readString();
        particularsDate = in.readString();
        nickName = in.readString();
        candyCoin = in.readString();
        avatar = in.readString();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(bankCardNo);
        dest.writeFloat(candyNum);
        dest.writeFloat(giftIncome);
        dest.writeFloat(rate);
        dest.writeString(amount);
        dest.writeString(date);
        dest.writeString(info);
        dest.writeString(titleDate);
        dest.writeInt(type);
        dest.writeString(transactionsId);
        dest.writeByte((byte) (showTitle ? 1 : 0));
        dest.writeString(activityId);
        dest.writeString(title);
        dest.writeString(titleInfo);
        dest.writeString(particularsDate);
        dest.writeString(nickName);
        dest.writeString(candyCoin);
        dest.writeString(avatar);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<WalletBean> CREATOR = new Creator<WalletBean>() {
        @Override
        public WalletBean createFromParcel(Parcel in) {
            return new WalletBean(in);
        }

        @Override
        public WalletBean[] newArray(int size) {
            return new WalletBean[size];
        }
    };

    public String getParticularsDate() {
        return particularsDate;
    }

    public void setParticularsDate(String particularsDate) {
        this.particularsDate = particularsDate;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getCandyCoin() {
        return candyCoin;
    }

    public void setCandyCoin(String candyCoin) {
        this.candyCoin = candyCoin;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getTitleInfo() {
        return titleInfo;
    }

    public void setTitleInfo(String titleInfo) {
        this.titleInfo = titleInfo;
    }

    public String getActivityId() {
        return activityId;
    }

    public void setActivityId(String activityId) {
        this.activityId = activityId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getTitleDate() {
        return titleDate;
    }

    public void setTitleDate(String titleDate) {
        this.titleDate = titleDate;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getTransactionsId() {
        return transactionsId;
    }

    public void setTransactionsId(String transactionsId) {
        this.transactionsId = transactionsId;
    }

    public boolean isShowTitle() {
        return showTitle;
    }

    public void setShowTitle(boolean showTitle) {
        this.showTitle = showTitle;
    }

    public String getBankCardNo() {
        return bankCardNo;
    }

    public void setBankCardNo(String bankCardNo) {
        this.bankCardNo = bankCardNo;
    }

    public float getCandyNum() {
        return candyNum;
    }

    public void setCandyNum(float candyNum) {
        this.candyNum = candyNum;
    }

    public float getGiftIncome() {
        return giftIncome;
    }

    public void setGiftIncome(float giftIncome) {
        this.giftIncome = giftIncome;
    }

    public float getRate() {
        return rate;
    }

    public void setRate(float rate) {
        this.rate = rate;
    }

    public WalletBean() {
    }
}
